struct FruitEaterState
{
    int playerX;
    int playerY;

    int appleX;
    int appleY;

    int score;

    int framesSinceReset;
};

class GameFruitEater : public Game
{
public:
    void Init();
    string Name() { return "fruitEater"; }
    void NewGame();
    void Step(ControllerState &controller);
    ControllerState SimpleAI();

private:
    void MakeFrameSprites();
    void Reset();

    FruitEaterState _state;

    // Sprite IDs
    int _spritePlayer;
    int _spriteFruit;
};